<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=7">
    <title>{$site.site_title}</title>
    <meta name="keywords" content="{$site.site_keywords}">
    <meta name="description" content="{$site.site_desc}">
    <link href="__STATIC__/css/style.css" rel="stylesheet" type="text/css" />
    <script src="__STATIC__/js/jquery-1.9.1.min.js" type="text/javascript"></script>
    <script src="__STATIC__/js/common.js" type="text/javascript"></script>

</head>
<body>
<!-- 顶部 -->
<div class="top">
    <div class="logo">
        <div class="fl"><img src="__STATIC__/images/logo.png" alt="全球零号干细胞基地"></div>
        <div class="logo_r">
            <empty name="login_account">
            <div class="logo_rt">您好，欢迎来到"0号家庭"</div>
            <div class="logo_rm"><a href="{:U('passport/login')}">[登录]</a>  <a href="{:U('passport/register')}">[免费注册]</a></div>
            <else/>
                <div class="logo_rt">您好: {$login_account.name}，欢迎来到"0号家庭"</div>
                <div class="logo_rm"><a href="{:U('member/center')}">进入我的会员中心</a>  &nbsp;&nbsp;&nbsp;&nbsp; <a href="{:U('passport/logout')}">[退出]</a></div>
            </empty>
        </div>
        <div class="clear"></div>
    </div>
    <div class="nav">
        <ul>
            <li><a href="/" <if condition="$controller_name eq 'index'">class="cur"</if>>网站首页</a></li>
            <li><a href="{:U('company/index')}" <if condition="$controller_name eq 'company'">class="cur"</if>>公司简介</a></li>
			<li><a href="{:U('pages/rulers')}" <if condition="$action_name eq 'rulers'">class="cur"</if>>公司资质</a></li>
            <li><a href="{:U('news/index',array('cate_id' => 47))}" <if condition="$_GET['cate_id'] eq 47">class="cur"</if>>自疗食疗</a></li>
            <li><a href="{:U('news/index',array('cate_id' => 48))}" <if condition="$_GET['cate_id'] eq 48">class="cur"</if>>康复案例</a></li>
            <li><a href="{:U('download/index')}" <if condition="$controller_name eq 'download'">class="cur"</if>>下载专区</a></li>
            <li><a href="{:U('member/center')}" <if condition="$controller_name eq 'member' and $action_name eq 'center'">class="cur"</if>>学员信息</a></li>
            <li><a href="{:U('pages/contact')}" <if condition="$action_name eq 'contact'">class="cur"</if>>联系方式</a></li>
        </ul>
    </div>
</div>